<?php
/**
 * Created by PhpStorm.
 * User: fress
 * Date: 18/3/19
 * Time: 14:42
 */

//数据库配置
Fend_Di::factory()->set('db',array(
        'ht'=>array(
            'w'=> 
array('host'=>'127.0.0.1','port'=>3306,'name'=>'user','user'=>'root','pwd'=>'123456','lang'=>'utf8'),
            'r'=>
array('host'=>'127.0.0.1','port'=>3306,'name'=>'user','user'=>'root','pwd'=>'123456','lang'=>'utf8'),
        )
    )
);
//Redis缓存设置
Fend_Di::factory()->set('redisconfig',array(
        'default' => array('host'=>'127.0.0.1','port'=>6379,'pre'=>''),
    )
);


